home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / bench / query14 < prev    next >
Encoding:
Text File  |  1992-08-27  |  960 b   |  5 lines

  1. retrieve into temp (t1.all,ounique1=o.unique1,ounique2=o.unique2,otwo=o.two,ofour=o.four,oten=o.ten,otwenty= o.twenty, ohundred=o.hundred,othousand=o.thousand,otwothousand=o.twothousand,ofivethous=o.fivethous,otenthous=o.tenthous,oodd=o.odd, oeven=o.even,ostringu1=o.stringu1,ostringu2=o.stringu2,ostring4=o.string4) from o in onek, t1 in tenk1, t2 in tenk2 where (o.unique2 = t1.unique2) and (t1.unique2 = t2.unique2) and (t1.unique2 < 1000) and (t2.unique2 < 1000)
  2. destroy temp
  3. retrieve into temp (t1.all,ounique1=o.unique1,ounique2=o.unique2,otwo=o.two,ofour=o.four,oten=o.ten,otwenty= o.twenty, ohundred=o.hundred,othousand=o.thousand,otwothousand=o.twothousand,ofivethous=o.fivethous,otenthous=o.tenthous,oodd=o.odd, oeven=o.even,ostringu1=o.stringu1,ostringu2=o.stringu2,ostring4=o.string4) from o in onek, t1 in tenk1, t2 in tenk2 where (o.unique2 = t1.unique2) and (t1.unique2 = t2.unique2) and (t1.unique2 < 1000) and (t2.unique2 < 1000)
  4. destroy temp
  5.